import request from '@/utils/request'

// 查询意见列表
export function sysAdviceList(data) {
  return request({
    url: '/system/sysAdvice/list',
    method: 'post',
    data: data
  })
}
// 新增意见反馈
export function addSysAdvice(data) {
  return request({
    url: '/system/sysAdvice/add',
    method: 'post',
    data: data
  })
}

// 回复意见反馈
export function editSysAdvice(data) {
  return request({
    url: '/system/sysAdvice/edit',
    method: 'post',
    data: data
  })
}
// 获取详细信息
export function detailsSysAdvice(data) {
  return request({
    url: '/system/sysAdvice/getInfo',
    method: 'post',
    params: data
  })
}
